import Login from "@/components/auth/Login";
import { PageNotFound, NoPermission } from "@/components/error";
import { Home, About } from "@/components";

const publicRoute = [
    {
        name: 'home',
        path: "/",
        redirect: 'home'
    },
    {
        name: 'login',
        path: '/login',
        component: Login
    },
    {
        name: 'home',
        path: '/home',
        component: Home
    },
    {
        name: 'about',
        path: '/about',
        component: About
    },
    {
        name: 'pageNotFound',
        path: '/404',
        component: PageNotFound
    },
    {
        name: 'noPermission',
        path: '/no-permission',
        component: NoPermission
    }
];

export default publicRoute;
